/** 
 *  @file
 *  @brief   网格写入vtk文件
 *  @author  duweixing
 *  @date    2024.07.12
 *  @version v1.0
 *  @par Copyright(c):  ShenGong  Simulation corporation
 */

#pragma once
#include <string>
#include "DataStructure/Common/SGNamespace.h"
#include "../../Common/BeamSecPropCalculatorExport.h"
#include "SectionMesh.h"

SG_NAMESPACE_OPEN
namespace FEMSolver {
namespace Element {

/** @brief 将网格写入vtk文件
 *  @param [in] meshes 网格
 *  @param [in] filename 文件名
 *  @param [in] discription 文件描述
 */
BeamSecPropCalculator_DECLSPEC void writeVtk
(
const Meshes&                meshes,
const std::string&           filename = "beamSection",
const std::string&           discription = ""
);

}; // end namespace Element
}; // end namespace FEMSolver
SG_NAMESPACE_CLOSE